﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" ValidateRequest="false"
    Inherits="System.Web.Mvc.ViewPage<MySite.Model.ConfigItemInfo>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	配置项编辑
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>
        配置项编辑</h2>

     <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>

    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="listable">
        <tr class="listheader">
            <td colspan="2">
                <h2>
                    配置项内容</h2>
            </td>
        </tr>
        <tr>
            <td align="right" class="bj-grey-bg f-blue-1218">
                配置项名称
            </td>
            <td>
                <%: Html.HiddenFor(model => model.PID, new { @class="input"})%>
                <%: Html.TextBoxFor(model => model.ConfigName, new { @class="input"})%>
            </td>
        </tr>
        <tr>
            <td align="right" class="bj-grey-bg f-blue-1218">
                配置项键
            </td>
            <td>
                <%: Html.TextBoxFor(model => model.ConfigKey, new { @class="input"})%>
            </td>
        </tr>
        <tr>
            <td align="right" class="bj-grey-bg f-blue-1218">
                配置项值
            </td>
            <td>
                <%= Html.TextBoxFor(model => model.ConfigValue, new { @class = "input" })%>
            </td>
        </tr>
        <tr>
            <td align="right" class="bj-grey-bg f-blue-1218">
                配置项说明
            </td>
            <td>
                <%= Html.TextBoxFor(model => model.ConfigDesc, new { @class = "input" })%>
            </td>
        </tr>
    </table>
    <div class="bj-sp10">
    </div>
    <div class="f-blue-1218 bj-center">
        <input type="submit" class="admin_btn" value="保存" />
    </div>
    <% } %>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ScriptContent" runat="server">
</asp:Content>

